package cn.isjinhao.se.structure.impl;

/**
 *
 * 用于确定一个 Cell 的位置。
 *
 * @Author ISJINHAO
 * @Date 2021/7/2 16:50
 */
public class Position {

    private String tableName;

    private int rowIndex;

    private int columnIndex;

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public int getRowIndex() {
        return rowIndex;
    }

    public void setRowIndex(int rowIndex) {
        this.rowIndex = rowIndex;
    }

    public int getColumnIndex() {
        return columnIndex;
    }

    public void setColumnIndex(int columnIndex) {
        this.columnIndex = columnIndex;
    }

    @Override
    public String toString() {
        return "Position{" +
                "tableName='" + tableName + '\'' +
                ", rowIndex=" + rowIndex +
                ", columnIndex=" + columnIndex +
                '}';
    }

}
